import javax.swing.*;

public class SimulateGCUI extends JFrame{
    private JCheckBox checkBox1;
    private JPanel contentPane;
    private JCheckBox checkBox2;
    private JCheckBox smallGarbage;
    private JCheckBox bigGarbage;
    private JCheckBox checkBox5;
    private JCheckBox checkBox6;
    private JCheckBox checkBox7;
    private JTextField runnerCount;
    private JButton button1;
    private JButton button2;
    private JTextField lifeTime;

    SimulateGCUI(){
        setTitle("Simulate GC");
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setContentPane(contentPane);
        pack();
        setLocationRelativeTo(null);

    }

    public static void main(String[] args) {
        // Launch the book editor form
        SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                SimulateGCUI win = new SimulateGCUI();
                // Set the frame location to the center of the screen
                win.setVisible(true);

            }
        });
    }
}
